import Layout from "@/layout";

const systemMonitor = {
  path: "/systemMonitor",
  component: Layout,
  name: "systemMonitor",
  redirect: "/systemMonitor/onlineUser",
  meta: { title: "系统监控", icon: "el-icon-monitor" },
  children: [
    {
      path: "onlineUser",
      name: "onlineUser",
      component: () => import("@/views/systemMonitor/onlineUser"),
      meta: { title: "在线用户", icon: "el-icon-user-solid" }
    },
    {
      path: "exceptionLog",
      name: "exceptionLog",
      component: () => import("@/views/systemMonitor/exceptionLog"),
      meta: { title: "异常日记", icon: "el-icon-s-release" }
    },
    {
      path: "actionLog",
      name: "actionLog",
      component: () => import("@/views/systemMonitor/actionLog"),
      meta: {title: '接口日记', icon: "el-icon-toilet-paper"}
    }
  ]
};
export default systemMonitor;
